package com.dj.domain.user;

import java.io.Serializable;

/**
 * 登录用户信息
 * 
 * @author jasen.hsu.cn@gmail.com 2012-4-17 下午1:00:30
 */
public class LoginUserInfo implements Serializable {

    private static final long serialVersionUID = 6905170305887854428L;

    /** ID */
    private Long              id;

    /** 登录帐号 */
    private String            loginId;

    /** 帐号来源网站 */
    private String            site;

    /** 用户类型: 0:个人;1:公司 */
    private String            userType;

    /** 用户姓名 */
    private String            name;

    /** 用户昵称 */
    private String            nickname;

    /** 登录网站token */
    private String            siteToken;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSiteToken() {
        return siteToken;
    }

    public void setSiteToken(String siteToken) {
        this.siteToken = siteToken;
    }

    @Override
    public String toString() {
        return "LoginUserInfo [id=" + id + ", loginId=" + loginId + ", site=" + site + ", userType=" + userType
               + ", name=" + name + ", nickname=" + nickname + ", siteToken=" + siteToken + "]";
    }

}
